class Notification < ActionMailer::Base
  default from: "adelmoral13@gmail.com"
  
  def welcome_email(user)
	@user = user
	@url = "http://cel.herokuapp.com/login"
	mail(:to => @user.email, :subject => "Welcome to Student Organization")
  end
  
    def forgot_password(user, pass)
    @user = user
	@url = "http://cel.herokuapp.com/login"
	@body['pass']=pass@recipients = to
    mail(:to => user.email, :subject => "Your password is...")
  end
  
   def invited_event(user)
	@user = user
	@url = "http://cel.herokuapp.com/login"
	mail(:to => user.email, :subject => "You have been invited to an event!")
  end
  
end
